package com.twu.biblioteca;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
* Created by archoud on 3/5/14.
*/
public class UserIO {

    private final BufferedReader bufferedReader;

    public UserIO() {
        bufferedReader = new BufferedReader(new InputStreamReader(System.in));
    }

    public void print(String msg) {
        System.out.println(msg);
    }

    public String getInput() {

        try {
            return bufferedReader.readLine();
        } catch (IOException e) {
            throw new IORuntimeException();
        }
    }
}
